package com.aspose.cells;

class zccf extends zcdb {
   zccf() {
      this.d = 494;
   }

   void a(zoa var1) throws Exception {
      int var2 = 32;
      if (var1.a != null) {
         var2 += var1.a.length() * 2;
      }

      if (var1.b.getTextToDisplay() != null) {
         var2 += var1.b.getTextToDisplay().length() * 2;
      }

      if (var1.b.getScreenTip() != null) {
         var2 += var1.b.getScreenTip().length() * 2;
      }

      if (var1.d == 2) {
         var2 += var1.b.getAddress().length() * 2;
      }

      this.c = new byte[var2];
      zcch.a((CellArea)var1.b.getArea(), this.c, 0);
      byte var3 = 16;
      int var4 = zcch.a(this.c, var3, var1.a);
      if (var1.d == 2) {
         var4 = zcch.a(this.c, var4, var1.b.getAddress());
      } else {
         var4 += 4;
      }

      var4 = zcch.a(this.c, var4, var1.b.getScreenTip());
      zcch.a(this.c, var4, var1.b.getTextToDisplay());
   }
}
